package com.example.demo.test.entity.one2oneprimarykey;

import com.example.demo.test.entity.one2oneforeignkey.DepartmentF;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 基于主键映射的one2one
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ManagerP {
    private Integer mgrpId;
    private String mgrpName;
    private DepartmentP dept;

}
